package com.copd.entity;

import java.util.Date;

/**
 * 备份数据实体类 - 通用表示，用于接收不同备份表数据
 * 注意：这是一个通用实体，实际数据库表结构见backup_tables.sql
 */
public class BackupData {
    private Integer backupId;       // 备份记录ID
    private Integer patientId;      // 患者ID
    private Integer doctorId;       // 医生ID
    private String operationType;   // 操作类型：新增/修改/删除/查询
    private Date operationTime;     // 操作时间
    
    // 通用数据字段 - 用于JSON转换
    private String dataContent;     // JSON格式的数据内容
    private String tableName;       // 表名
    private String tableDescription; // 表描述

    public Integer getBackupId() {
        return backupId;
    }

    public void setBackupId(Integer backupId) {
        this.backupId = backupId;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public String getDataContent() {
        return dataContent;
    }

    public void setDataContent(String dataContent) {
        this.dataContent = dataContent;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableDescription() {
        return tableDescription;
    }

    public void setTableDescription(String tableDescription) {
        this.tableDescription = tableDescription;
    }
} 